package io.renren.modules.task.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.modules.task.dao.MtCcWarehousePointDao;
import io.renren.modules.task.entity.MtCcEquipmentPointRelatEntity;
import io.renren.modules.task.entity.MtCcParkingPositionEntity;
import io.renren.modules.task.entity.MtCcWarehousePointEntity;
import io.renren.modules.task.service.MtCcParkingPositionService;
import io.renren.modules.task.service.MtCcWarehousePointService;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @Author: 蔡翔
 * @Date: 2019/9/11 13:29
 * @Version 1.0
 */
@Service
public class MtCcWarehousePointServiceImpl extends ServiceImpl<MtCcWarehousePointDao, MtCcWarehousePointEntity> implements MtCcWarehousePointService {
    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MtCcWarehousePointEntity> page = this.page(
                new Query<MtCcWarehousePointEntity>().getPage(params),
                new QueryWrapper<MtCcWarehousePointEntity>()
        );
        return new PageUtils(page);
    }
}
